package com.yu.utils;



public class StatusHolder {
    private static final ThreadLocal<String> tl = new ThreadLocal<>();

    public static void saveStatus(String status){
        tl.set(status);
    }

    public static String getStatus(){
        return tl.get();
    }

    public static void removeStatus(){
        tl.remove();
    }
}
